package com.cchr.acms;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("configInfo")
public class ConfigInfo {

    @Value("${site.home.url}")
    private String mainUrl;
    
    @Value("${sys.super.admin}")
    private String superAdmin;
    
    @Value("${from.email}")
    private String fromEmail;
    
    @Value("${notify.to}")
    private String notifyTo;
    
    @Value("${acms.url}")
    private String acmsUrl;

    public String getAcmsUrl() {
	return acmsUrl;
    }

    public void setAcmsUrl(String acmsUrl) {
	this.acmsUrl = acmsUrl;
    }
    public String getFromEmail() {
    	return fromEmail;
    }
    
    public void setFromEmail(String fromEmail) {
    	this.fromEmail = fromEmail;
    }
    public String getNotifyTo() {
    	return notifyTo;
    }
    
    public void setNotifyTo(String notifyTo) {
    	this.notifyTo = notifyTo;
    }
    public String getMainUrl() {
    	return mainUrl;
    }
    
    public void setMainUrl(String mainUrl) {
    	this.mainUrl = mainUrl;
    }

	public String getSuperAdmin() {
		return superAdmin;
	}

	public void setSuperAdmin(String superAdmin) {
		this.superAdmin = superAdmin;
	}
}